package com.lmmob.autotest.uitest.formmodel;

import static com.lmmob.autotest.uitest.ValueGenerator.getString;

public class FormElement {
    private String value;
    private String errorMessage;

    public FormElement(String value, String errorMessage) {
        value = getString(value);
        this.value = value;
        this.errorMessage = errorMessage;
    }

    public String getValue() {
        return value;
    }

    public String getErrorMessage() {
        return errorMessage;
    }
}
